package models

// WkbRobot 机器人
type WkbImRobot struct {
	Model
	RobotCode         string `gorm:"column:robot_code;type:varchar(10)" json:"robot_code"`                  //
	RobotImg          string `gorm:"column:robot_img;type:varchar(200)" json:"robot_img"`                   //
	RobotNickname     string `gorm:"column:robot_nickname;type:varchar(30)" json:"robot_nickname"`          // 
	WelcomeFlag       int    `gorm:"column:welcome_flag;type:tinyint(4)" json:"welcome_flag"`               //
	WelcomeText       string `gorm:"column:welcome_text;type:varchar(1000)" json:"welcome_text"`            // 
	AnswerFlag        int    `gorm:"column:answer_flag;type:tinyint(4)" json:"answer_flag"`                 //
	AnswerTitle       string `gorm:"column:answer_title;type:varchar(100)" json:"answer_title"`             // 
	AnswerText        string `gorm:"column:answer_text;type:varchar(1000)" json:"answer_text"`              // 
	KeywordAutoAnswer int    `gorm:"column:keyword_auto_answer;type:tinyint(4)" json:"keyword_auto_answer"` //
	KeywordAutoLink   int    `gorm:"column:keyword_auto_link;type:tinyint(4)" json:"keyword_auto_link"`     //
}

func (w *WkbImRobot) TableName() string {
	return "wkb_im_robot"
}
